package com.nmsl.registration.service.impl;

import com.nmsl.registration.domain.skxEmployee;
import com.nmsl.registration.mapper.skxEmployeeMapper;
import com.nmsl.registration.service.skxIEmployeeService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class skxEmployeeServiceImpl implements skxIEmployeeService {

    @Autowired
    private skxEmployeeMapper employeeMapper;

    @Override
    public List<skxEmployee> getEmployeeCountByDepartmentId(Long departmentId) {
        List<skxEmployee> employees = employeeMapper.getEmployeebyDepartmentId(departmentId);
        return employees;

    }
}
